<#include "/common/_itjson_layout.ftl" />
<@itjsonCommonLayout "sqlformat">

<!-- begin主体 -->

    <div class="accordion" id="accordion2">
        <div class="accordion-group">
            
            

            <div class="alert alert-success alert-dismissible" role="alert">
                <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                    <span aria-hidden="true">×</span></button>
                Sql语句在线压缩,格式化工具（实现了Sql代码在线压缩、在线格式化等功能）
            </div>
            
            <div class="panel">
                <form id="form1" class="form-horizontal" action="${www}/itjson/sqlformat.html" method="post">
                <div class="form-group">
                    <div class="col-sm-12">
                        <textarea onmouseover="this.focus();" id="content" class="form-control" rows="18" style="max-height: 2222px;" placeholder="请输入要格式化或压缩的Sql代码"></textarea>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-12">
                        <input onclick="$('#content').format({method: 'sql'});" value="Sql格式化" class="btn btn-success" type="button">
                        <input onclick="$('#content').format({method: 'sqlmin'});" value="Sql压缩" class="btn btn-success" type="button">
                        <input onclick="CommonEmpty();" value="清空输入框" class="btn btn-danger" type="button">
                        <span id="copyallcode" class="btn btn-success" data-clipboard-target="content">复制完整内容</span>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-12">
                        <div class="alert alert-success alert-dismissible text-center" id="copycodeall" role="alert">
                            <strong>复制成功!</strong> &nbsp;&nbsp;代码已经成功复制到剪切板&nbsp;&nbsp;可直接粘贴到任意地方.
                        </div>
                    </div>
                </div>
                </form>
            </div>
        </div>
        <div class="accordion-group">
            <div class="accordion-heading">
                <a class="list-group-item list-group-item-warning" data-toggle="collapse" href="#demo1">
                     Sql语句在线格式化Sql语句在线压缩工具</a>
            </div>
            <div id="demo1" class="in collapse bs-docs-demoexample">
                <h4 style="color: #66be8c;">
                    Sql语句在线压缩格式化</h4>
                <br>
                <h5>
                    1,Sql在线格式化工具,实现了在线对Sql语句压缩格式化排版,把Sql进行整齐的显示</h5>
                <h5>
                    2,支持Sql Server,MySql,Orcale等主流数据库的一切Sql语句
                </h5>
            </div>
        </div>
        <br>
    </div>





<!-- end主体 -->


</@itjsonCommonLayout>